package com.starleague.battletech.rules;

import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.Singleton;

import com.starleague.StarLeagueException;
import com.starleague.battletech.game.BattletechPhase;
import com.starleague.battletech.game.IMutableBattletechGame;
import com.starleague.battletech.rules.BattletechDice;
import com.starleague.battletech.rules.initiative.InitiativePhaseState;

@Singleton
@Named
public class EndPhaseState
        extends AbstractPhaseState
{
    @Inject
    public EndPhaseState(BattletechDice dice,
                         InitiativePhaseState initiativePhaseState)
    {
        // TODO: Previous state should NOT be MOVEMENT
        super(dice, BattletechPhase.INITIATIVE, initiativePhaseState, BattletechPhase.MOVEMENT);
    }

    @Override
    public void startPhase(IMutableBattletechGame game) throws StarLeagueException
    {
        super.startPhase(game);

        // TODO:
        // endPhase(game);
    }
}
